<?php 
class Exam_Model_Test extends Core_Model_Item_Abstract{
    protected $_exam = null;
    public function getExam(){
        if(is_null($this->_exam)) $this->_exam = Engine_Api::_()->getItem('exam',$this->exam_id);
        return $this->_exam;
    }
}
?>